﻿/*
///    This file is part of BannerLib4Net.
///
///    BannerLib4Net is free software: you can redistribute it and/or modify
///    it under the terms of the GNU General Public License as published by
///    the Free Software Foundation, either version 3 of the License, or
///    (at your option) any later version.

///    BannerLib4Net is distributed in the hope that it will be useful,
///    but WITHOUT ANY WARRANTY; without even the implied warranty of
///    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
///    GNU General Public License for more details.
///
///    You should have received a copy of the GNU General Public License
///    along with BannerLib4Net.  If not, see <http://www.gnu.org/licenses/>.
*/


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BannerLib4Net.Data.Models
{
    public class LookupModel
    {
        public Int64? DatabaseKey { get; set; }
        public String Name { get; set; }
        public int? SortOrder { get; set; }

        public LookupModel()
        {
        }

        public LookupModel(int? databaseKey, String name, int? sortOrder)
        {
            this.DatabaseKey = databaseKey;
            this.Name = name;
            this.SortOrder = sortOrder;
        }

        public override string ToString()
        {
            return String.Format("LookupModel: DatabaseKey: {0}, Name: {1}, SortOrder: {2}",
                                 DatabaseKey,
                                 Name,
                                 SortOrder);
        }

    }
}
